#!/bin/bash

machine=$1
flocal=$2
fremote=$3

if [ $machine == 'mi8' ]
then
    scp -P 8022 ${flocal} u0_a319@192.168.1.33:"${fremote}"
fi

if [ $machine == 'hostvm' ]
then
    scp ${flocal} zhangfeiyue@192.168.95.197:"${fremote}"
fi

